/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package ModelLayer;

/**
 *
 * @author Sharif
 */
public class SalesOrder {
    private int id;
    private String date;
    private int deliveryStatus;
    private String deliveryDate;
    private int customer;
    private int invoice;
    private double amount;

    public SalesOrder(int id, String date, int deliveryStatus, String deliveryDate, int customerId, int invoiceId, double amount)
    {
        this.id = id;
        this.date = date;
        this.deliveryStatus = deliveryStatus;
        this.deliveryDate = deliveryDate;
        this.customer = customerId;
        this.invoice = invoiceId;
        this.amount = amount;
    }

    public SalesOrder()
    {

    }



    /**
     * @return the date
     */
    public String getDate()
    {
        return date;
    }

    /**
     * @param date the date to set
     */
    public void setDate(String date)
    {
        this.date = date;
    }

    /**
     * @return the deliveryStatus
     */
    public int getDeliveryStatus()
    {
        return deliveryStatus;
    }

    /**
     * @param deliveryStatus the deliveryStatus to set
     */
    public void setDeliveryStatus(int deliveryStatus)
    {
        this.deliveryStatus = deliveryStatus;
    }

    /**
     * @return the deliveryDate
     */
    public String getDeliveryDate()
    {
        return deliveryDate;
    }

    /**
     * @param deliveryDate the deliveryDate to set
     */
    public void setDeliveryDate(String deliveryDate)
    {
        this.deliveryDate = deliveryDate;
    }

     
    public double getAmount()
    {
        return amount;
    }

    /**
     * @param amount the amount to set
     */
    public void setAmount(double amount)
    {
        this.amount = amount;
    }

    /**
     * @return the id
     */
    public int getId()
    {
        return id;
    }

    /**
     * @param id the id to set
     */
    public void setId(int id)
    {
        this.id = id;
    }

    /**
     * @return the customer
     */
    public int getCustomer() {
        return customer;
    }

    /**
     * @param customer the customer to set
     */
    public void setCustomer(int customer) {
        this.customer = customer;
    }

    /**
     * @return the invoice
     */
    public int getInvoice() {
        return invoice;
    }

    /**
     * @param invoice the invoice to set
     */
    public void setInvoice(int invoice) {
        this.invoice = invoice;
    }


}
